package com.xiangwushuo.framework

import com.lib.framework.base.BaseApplication
import com.lib.framework.manager.LogManager

/**
 * Copyright (C), 2019-2019
 * FileName: AppApplication
 * Author: Kevin
 * Date: 2019-12-31 11:23
 * Description:
 * History: 应用的 Application
 * <author> <time> <version> <desc>
 * 作者姓名 修改时间 版本号 描述
 */
class AppApplication : BaseApplication() {

    companion object {

        private const val TAG = "AppApplication"
    }

    override fun initInAllProcess() {
        super.initInAllProcess()
        AppInitHelper.initInAllProcessInApplication(this)
    }

    override fun initOnlyInMainProcess() {
        super.initOnlyInMainProcess()
        AppInitHelper.initOnlyInMainProcess(this)
    }

    override fun onTerminate() {
        super.onTerminate()
        LogManager.i(TAG, "onTerminate")
    }
}